package wk.asm;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by wangkuan at 2018-09-03 9:54
 */
public class Order {
    private String name;
    private List<SubOrder> subOrderList = new ArrayList<>();
    private Double price;
    private Double maxSubOrderPrice;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<SubOrder> getSubOrderList() {
        return subOrderList;
    }

    public void setSubOrderList(List<SubOrder> subOrderList) {
        this.subOrderList = subOrderList;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getMaxSubOrderPrice() {
        return maxSubOrderPrice;
    }

    public void setMaxSubOrderPrice(Double maxSubOrderPrice) {
        this.maxSubOrderPrice = maxSubOrderPrice;
    }

    public Order() {

    }
}
